<div class="layui-input-block" style="position: relative;margin-top: 10px">
    <input type="text" name="title" lay-verify="title" autocomplete="off" value="并行生成线体"
           class="layui-input" style="width: 80%;">
    <button type="button" class="layui-btn layui-btn-normal " style="position: absolute;right: 20%;top: 0">
        取消
    </button>
</div>

<div id="sample">
    <div style="width: 100%; display: flex; justify-content: space-between;float: left;pointer-events: none;">
        <div id="myDiagramDiv" style="flex-grow: 1; height: 500px"></div>
    </div>
</div>
<script>
    init();
</script>

